
    <div class="fly-home" style="background-image: url();">
      <img src="/Bbs/<?php echo $_SESSION['face']; ?>" alt="">
      <h1><?php echo $arr['nikename'] ?>
        <i class="iconfont <?php if ($arr['sex']==男|| $arr['sex']==保密) { echo 'icon-nan';}else{echo 'icon-nv';} ?> "></i></h1>
      <p class="fly-home-info">
        <i class="iconfont icon-zuichun" title="飞吻"></i>
        <span style="color: #FF7200;"><?php echo $arr['kiss'] ?>飞吻</span>
        <i class="iconfont icon-shijian"></i>
        <span><?php echo $arr['create_time'] ?> 加入</span>
        <i class="iconfont icon-chengshi"></i>
        <span>来自<?php echo $arr['city'] ?></span></p>
      <p class="fly-home-sign">（<?php echo $arr['sign'] ?>）</p></div>
    <div class="main fly-home-main">
      <div class="layui-inline fly-home-jie">
        <h2 class="page-title"><?php echo $arr['nikename'] ?> 最近的提问</h2>
        <ul class="jie-row">
        <?php  if (isset($q)) { 
          foreach ($q as $v) { ?>
          <li>
          <?php if (strstr($v['status'],'精华')) { ?>
            <span class="fly-jing">精</span>
          <?php } ?> 
            <a href="{:U('home/publish/issue',array('id'=>$v['id']))}" class="jie-title"><?php echo $v['title'] ?></a>
            <i><?php echo $v['create_time'] ?></i>
            <em><?php echo $v['view_num'] ?>阅/<?php echo $v['answer_num'] ?>答</em>
          </li>
       <?php }  
        } else {?> 
          <li class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;">
            <i style="font-size:14px;">没有发表任何求解</i>
          </li>
        <?php } ?>
          
        </ul>
      </div>
      <div class="layui-inline fly-home-da">
        <h2 class="page-title"><?php echo $arr['nikename'] ?> 最近的回答</h2>
        <ul class="home-jieda">
          <?php if (isset($data)) { 
           foreach ($data as $v) { ?>
            <li>
              <p>
                <span><?php echo $v['create_time'] ?></span>在
                <a href="/jie/6578.html#item-1483692527271" target="_blank"><?php echo $v['title'] ?></a>中回答：
              </p>
            <div class="home-dacontent"><?php echo htmlspecialchars_decode($v['content']) ?></div>
          </li>
          <?php }?>
            
         <?php  }else{  ?>
          <li class="fly-none" style="min-height: 50px; padding:30px 0; height:auto;">
            <span>没有回答任何问题</span>
          </li>
         <?php } ?>
          
          
        </ul>
      </div>
    </div>
